Espressif Systems /ESP32-C6 /LEDC /CH2_CONF0

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CH2_CONF0

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0TIMER_SEL 0 (SIG_OUT_EN)SIG_OUT_EN 0 (IDLE_LV)IDLE_LV 0 (PARA_UP)PARA_UP 0OVF_NUM0 (OVF_CNT_EN)OVF_CNT_EN 0 (OVF_CNT_RESET)OVF_CNT_RESET

Description

Configuration register 0 for channel 2

Fields

TIMER_SEL

This field is used to select one of timers for channel %s.

0: select timer0, 1: select timer1, 2: select timer2, 3: select timer3

SIG_OUT_EN

Set this bit to enable signal output on channel %s.

IDLE_LV

This bit is used to control the output value when channel %s is inactive (when LEDC_SIG_OUT_EN_CH%s is 0).

PARA_UP

This bit is used to update LEDC_HPOINT_CH%s, LEDC_DUTY_START_CH%s, LEDC_SIG_OUT_EN_CH%s, LEDC_TIMER_SEL_CH%s, LEDC_DUTY_NUM_CH%s, LEDC_DUTY_CYCLE_CH%s, LEDC_DUTY_SCALE_CH%s, LEDC_DUTY_INC_CH%s, and LEDC_OVF_CNT_EN_CH%s fields for channel %s, and will be automatically cleared by hardware.

OVF_NUM

This register is used to configure the maximum times of overflow minus 1.

The LEDC_OVF_CNT_CH%s_INT interrupt will be triggered when channel %s overflows for (LEDC_OVF_NUM_CH%s + 1) times.

OVF_CNT_EN

This bit is used to enable the ovf_cnt of channel %s.

OVF_CNT_RESET

Set this bit to reset the ovf_cnt of channel %s.

Links

() ()